package cn.zlj.nmcc.service.impl;

import cn.zlj.nmcc.domain.CourseDoc;
import cn.zlj.nmcc.repository.CourseEsRepository;
import cn.zlj.nmcc.service.IEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EsServiceImpl implements IEsService {
    @Autowired
    private CourseEsRepository courseEsRepository;

    @Override
    public void save(CourseDoc courseDoc) {
        courseEsRepository.save(courseDoc);
    }
}
